From b3f2583a463f82821b1a87c2d2f020375bc5ac0c Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Mon, 28 May 2012 10:59:56 +0200 Subject: [PATCH] gtk_application_new(): Docs: application_id may now be null. https://bugzilla.gnome.org/show_bug.cgi?id=671249 --- gtk/gtkapplication.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c index 24a580af9f..c46d4562d4 100644 --- a/gtk/gtkapplication.c +++ b/gtk/gtkapplication.c @@ -754,7 +754,7 @@ gtk_application_class_init (GtkApplicationClass *class) /** * gtk_application_new: - * @application_id: the application id + * @application_id (allow-none): The application ID. * @flags: the application flags * * Creates a new #GtkApplication instance. @@ -774,7 +774,12 @@ gtk_application_class_init (GtkApplicationClass *class) * you can explicitly call gtk_init() before creating the application * instance. * - * The application id must be valid. See g_application_id_is_valid(). + * If non-%NULL, the application ID must be valid. See + * g_application_id_is_valid(). + * + * If no application ID is given then some features (most notably application + * uniqueness) will be disabled. A null application ID is only allowed with + * GTK+ 3.6 or later. * * Returns: a new #GtkApplication instance * -- 2.30.2